﻿<%@ Page Language="C#" AutoEventWireup="true" Async="true" CodeBehind="index.aspx.cs"
    Inherits="OrderManage.WebApp.index" %>

<%@ Import Namespace="OrderManage.Utility" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>手机充值订单管理系统</title>

    <script src="lib/boot.js" type="text/javascript"></script>

    <script src="lib/js/cookie.js" type="text/javascript"></script>

    <link href="lib/css/IndexStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="main_layout" class="mini-layout" style="width: 100%; height: 100%;">
        <div class="header" region="north" height="50px;" showsplit="false" showheader="false"
            allowresize="false">
            <div style="margin-left: 20px; margin-top: 8px;">
                <h1>
                    手机充值订单管理系统
                </h1>
            </div>
            <form id="form1" runat="server">
            <div style="text-align: right; margin-right: 12px;" class="topNav">
                <div style="position: absolute; top: 1px; right: 10px;">
                    <a class="mini-button mini-button-iconTop" iconcls="icon-order" href="MobileRecharge.aspx"
                        target="_blank" plain="true">添加订单</a> <a class="mini-button mini-button-iconTop"
                            iconcls="icon-exit" onclick="onExitClick" plain="true">退出</a>
                </div>
            </div>
            </form>
        </div>
        <div title="south" region="south" showsplit="false" showheader="false" height="32px">
            <table style="width: 100%">
                <tr>
                    <td style="width: 33%; text-align: center;">
                        <span>技术支持：XXX科技有限公司</span>
                    </td>
                    <td style="width: 33%; text-align: center;">
                        <span>登录用户：<%=SysContext.CurrentFullName%></span>
                    </td>
                    <td style="width: 33%; text-align: center;">
                        <span>当前时间：</span><span id="TimeSpan"></span>
                    </td>
                </tr>
            </table>
        </div>
        <div region="west" title="系统菜单" showheader="true" bodystyle="padding-left:1px;" showspliticon="true"
            width="230" minwidth="100" maxwidth="350">
            <ul id="tree1" class="mini-tree" style="width: 100%; height: 100%;" showtreeicon="true"
                resultastree="false" expandonload="true" textfield="MenuName" idfield="MenuID"
                parentfield="ParentMenuID" onbeforeexpand="onBeforeExpand" onnodeselect="onNodeSelect">
            </ul>
        </div>
        <div title="center" region="center" style="border: 0;">
            <div id="mainTabs" class="mini-tabs bg-toolbar" activeindex="0" style="width: 100%;
                height: 100%;">
                <div title="充值成功金额月份柱状图" url="welcome.aspx">
                </div>
            </div>
        </div>
    </div>

    <script src="lib/js/index.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
        function ShowTime() {
            now = new Date();
            hour = now.getHours();
            minute = now.getMinutes();
            second = now.getSeconds();
            var day = ["星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", ];
            time_str = (hour < 10) ? ("0" + hour) : hour;
            time_str += ":";
            time_str += (minute < 10) ? ("0" + minute) : minute;
            time_str += ":";
            time_str += (second < 10) ? ("0" + second) : second;
            $("#TimeSpan").html("" + (now.getFullYear()) + "-" + (now.getMonth() + 1) + "-" + (now.getDate() + 0) + " " + time_str + " " + day[new Date().getDay()]);
            setTimeout('ShowTime()', 1000);
        }
        $(function() {
            ShowTime();
        });
    </script>

</body>
</html>
